{"version":3,"sources":["detail_page_panel.js"],"names":["BX","namespace","Landing","UI","Panel","DetailPage","id","data","URLList","apply","this","arguments","layout","classList","add","overlay","cache","Cache","MemoryCache","document","body","appendChild","instance","getInstance","title","Loc","getMessage","prototype","constructor","__proto__","getSources","remember","rootWindow","PageObject","getRootWindow","Main","options","sources","onSourceClick","source","sidebarButtons","forEach","button","activate","deactivate","content","innerHTML","showLoader","create","props","className","children","html","Backend","getDynamicTemplates","then","templates","template","appendCard","createTemplatePreview","loader","hide","bind","Card","LandingPreviewCard","TITLE","description","DESCRIPTION","preview","PREVIEW2X","onClick","onTemplateClick","show","backend","action","code","response","PaymentAlertShow","message","siteId","getSiteId","ID","fields","getLandingId","onChange","type","name","activeButton","getActive","sourceId","env","Env","envOptions","getOptions","find","currentSource","default","detail","setOptions","showSourcesButtons","appendSidebarButton","Button","SidebarButton","text","settings","detailPage","child","showSitesButtons","getSites","sites","site","onSiteClick","showCreatePageButton","urlMask","params","sef_url","site_show","site_id","url","replace","window","open","buildSidebar","Promise","all","Content","call","clear","click","resolve","promiseResolve"],"mappings":"CAAC,WACA,aAEAA,GAAGC,UAAU,uBASbD,GAAGE,QAAQC,GAAGC,MAAMC,WAAa,SAASC,EAAIC,GAE7CP,GAAGE,QAAQC,GAAGC,MAAMI,QAAQC,MAAMC,KAAMC,WACxCD,KAAKE,OAAOC,UAAUC,IAAI,gCAC1BJ,KAAKK,QAAQF,UAAUC,IAAI,gCAE3BJ,KAAKM,MAAQ,IAAIhB,GAAGiB,MAAMC,YAE1BC,SAASC,KAAKC,YAAYX,KAAKE,SAQhCZ,GAAGE,QAAQC,GAAGC,MAAMC,WAAWiB,SAAW,KAO1CtB,GAAGE,QAAQC,GAAGC,MAAMC,WAAWkB,YAAc,WAE5C,IAAKvB,GAAGE,QAAQC,GAAGC,MAAMC,WAAWiB,SACpC,CACCtB,GAAGE,QAAQC,GAAGC,MAAMC,WAAWiB,SAAW,IACrCtB,GAAGE,QAAQC,GAAGC,MAAMC,W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